<template>
  <div id="app">
    <!-- 使用组件 -->
    <Head/>
    <router-view/>
    <Foot/>
  </div>
</template>
<script>
//1. 倒入head组件
import Head from'../src/views/components/Head.vue'
import Foot from'../src/views/components/Foot.vue'
export default {
 //2. 注册组件
 components:{
   Head,
   Foot
 }
}
</script>
